package com.alibaba.citrus.cr.mn.order.center.facade.adapter;

import com.alibaba.citrus.cr.mn.order.center.facade.adapter.dataobject.request.ItemGroupAbilityRequest;
import com.alibaba.citrus.cr.mn.order.center.facade.adapter.dataobject.request.ItemSearchAbilityRequest;
import com.alibaba.citrus.cr.mn.order.center.facade.adapter.dataobject.request.ItemUnitAbilityRequest;
import com.alibaba.citrus.cr.mn.order.center.facade.adapter.dataobject.response.ItemGroupAbilityDTO;
import com.alibaba.citrus.cr.mn.order.center.facade.adapter.dataobject.response.ItemSearchAbilityDTO;
import com.alibaba.citrus.cr.mn.order.center.facade.adapter.dataobject.response.ItemUnitAbilityDTO;
import com.alibaba.cz.item.normal.scitem.model.search.ScItemSearchAbilityResponse;

import java.util.List;

/**
 * @author zhangxiaorui
 * @ClassName ItemQueryAdapter
 * @description: TODO
 * @date 2023/05/31 21:04
 * @version: 1.0
 */
public interface ItemQueryAdapter {

    /**
     * 获取商品信息
     * @param itemSearchAbilityRequest
     * @return
     */
    List<ItemSearchAbilityDTO> queryItem(ItemSearchAbilityRequest itemSearchAbilityRequest);


    /**
     * 获取单位库
     * @param itemUnitAbilityRequest
     * @return
     */
    List<ItemUnitAbilityDTO> queryScItemUnitMap(ItemUnitAbilityRequest itemUnitAbilityRequest);

    /**
     * 获取货品组
     * @param itemGroupAbilityRequest
     * @return
     */
    List<ItemGroupAbilityDTO> queryScItemGroup(ItemGroupAbilityRequest itemGroupAbilityRequest);
}
